
package com.zhitan.ems.app.stat.config.wrapper;
import com.zhitan.ems.app.stat.config.entity.ElectricityTypeSettingItemEntity;
import com.zhitan.ems.app.stat.config.vo.ElectricityTypeSettingItemVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 点峰平谷配置项 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-20 09:56:55
 */
public class ElectricityTypeSettingItemWrapper extends BaseEntityWrapper<ElectricityTypeSettingItemEntity, ElectricityTypeSettingItemVO>  {
    public static ElectricityTypeSettingItemWrapper build() {
        return new ElectricityTypeSettingItemWrapper();
    }
	@Override
	public ElectricityTypeSettingItemVO entityVO(ElectricityTypeSettingItemEntity electricityTypeSettingItem) {
		if(electricityTypeSettingItem==null) {
			return null;
		}
		ElectricityTypeSettingItemVO electricityTypeSettingItemVO = BeanUtil.copy(electricityTypeSettingItem, ElectricityTypeSettingItemVO.class);
		return electricityTypeSettingItemVO;
	}

}
